package com.aliwo.service;

import com.aliwo.domain.User;

/**
 * .
 *
 * @author Xu Yayuan
 * @date 2021/11/3
 */
public interface UserService {

    /**
     * @param id 主键id
     * @return User
     */
    User getUserById(Integer id);

    /**
     * @param openid 微信公众号id
     * @return User
     */
    User findUserByOpenid(String openid);

    User saveWeChatUser(String code);

}
